package com.yhd.task.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 任务实例
 *
 * @author yinhuidong3@xiaomi.com
 * @since 2021/7/3
 */
@TableName("task")
@Data
public class Task implements Serializable {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private String lockName;

    private String lockAtLeastForString;

    private String lockAtMostForString;

    private String cron;

    private String path;

    private String taskName;

    private String description;

    private String beanName;

    private String className;
}
